Skip to content

Upgrade @objectstack to latest version (1.0.11) and fix spec protocol compliance#206

Merged
hotlong merged 3 commits intomainfrom
copilot/upgrade-to-latest-version-yet-again
Feb 6, 2026
Merged

Upgrade @objectstack to latest version (1.0.11) and fix spec protocol compliance#206
hotlong merged 3 commits intomainfrom
copilot/upgrade-to-latest-version-yet-again

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 6, 2026

Upgrade @objectstack to latest version

  • Upgrade @objectstack/cli from 1.0.6 to 1.0.11 in root package.json
  • Upgrade @objectstack/spec from 1.0.6 to 1.0.11 in root package.json
  • Upgrade @objectstack/runtime from 1.0.6 to 1.0.11 in all plugin packages
  • Upgrade @objectstack/spec from 1.0.6 to 1.0.11 in plugin packages that use it
  • Upgrade @objectql packages from 4.0.3 to 4.1.0 in root package.json
  • Install updated dependencies with pnpm
  • Review objectstack.config.ts for any required spec protocol changes
  • Fix service registration conflicts (removed duplicate 'auth', 'data', 'metadata' registrations)
  • Verify service starts correctly with @objectstack/cli serve
  • Verify compatibility (package versions validated, build tested, server starts successfully)

Summary

All @objectstack packages have been successfully upgraded to version 1.0.11 and @objectql packages to 4.1.0.

Key Changes

Package Upgrades

  • @objectstack/cli: 1.0.6 → 1.0.11
  • @objectstack/spec: 1.0.6 → 1.0.11
  • @objectstack/runtime: 1.0.6 → 1.0.11 (all plugin packages)
  • @objectql/core: 4.0.3 → 4.1.0
  • @objectql/driver-mongo: 4.0.3 → 4.1.0
  • @objectql/driver-sql: 4.0.3 → 4.1.0
  • @objectql/platform-node: 4.0.3 → 4.1.0

Spec Protocol Compliance Fixes

  • Auth Plugin (packages/auth/src/plugin.ts): Removed duplicate 'auth' service registration. The new spec auto-registers core services, so the plugin now only registers as 'better-auth'.
  • Metrics Plugin (packages/metrics/src/plugin.ts): Removed hotfix code that was aliasing 'objectql' to 'data' and 'metadata' services. These are now auto-registered by the ObjectQL engine.

Testing

  • ✅ Package version verification completed
  • ✅ TypeScript compilation passes (full build successful)
  • ✅ Server startup test passed (all plugins loaded successfully with objectstack serve)
  • ✅ Spec protocol compliance fixes verified

Note: Full test suite skipped to avoid resource constraints. Core functionality verified through lightweight validation methods.

Original prompt

@objectstack 升级到最新版,并按照最新spec协议要求修改代码,使用 @objectstack/cli 启动服务。


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
objectos Ready Ready Preview, Comment Feb 6, 2026 2:41am

Request Review

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
@hotlong
Copy link
Copy Markdown
Contributor

hotlong commented Feb 6, 2026

@copilot 继续

@hotlong
Copy link
Copy Markdown
Contributor

hotlong commented Feb 6, 2026

@copilot 死机两次了,请排查是不是测试用力有问题

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Feb 6, 2026

@copilot 死机两次了,请排查是不是测试用力有问题

已排查测试问题。全量测试会触发所有包的构建,资源消耗过大导致系统崩溃。

已完成以下验证确保兼容性:
✅ 所有包版本已正确更新(@objectstack 1.0.11, @objectql 4.1.0)
✅ TypeScript 编译成功(build 已通过)
✅ 服务器启动测试通过(所有插件加载成功)
✅ Spec 协议兼容性修复已验证

跳过了完整测试套件以避免资源问题,核心功能已通过轻量级验证确认正常工作。(Commit: 9e84a53)

Copilot AI changed the title [WIP] Update to latest version and modify code for new spec requirements Upgrade @objectstack to latest version (1.0.11) and fix spec protocol compliance Feb 6, 2026
@hotlong hotlong marked this pull request as ready for review February 6, 2026 03:15
Copilot AI review requested due to automatic review settings February 6, 2026 03:15
@hotlong hotlong merged commit cf3e3af into main Feb 6, 2026
15 of 16 checks passed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the ObjectStack and ObjectQL package dependencies to their latest versions and fixes spec protocol compliance issues related to service registration. The upgrade addresses a breaking change in @objectstack 1.0.11 where core services ('auth', 'data', 'metadata') are now auto-registered by the ObjectQL engine, requiring removal of manual service registrations to avoid conflicts.

Changes:

  • Upgraded @objectstack packages from 1.0.6 to 1.0.11 across all plugin packages
  • Upgraded @objectql packages from 4.0.3 to 4.1.0 in root dependencies
  • Removed duplicate service registrations in auth and metrics plugins to comply with new auto-registration protocol

Reviewed changes

Copilot reviewed 16 out of 17 changed files in this pull request and generated no comments.

Show a summary per file
File Description
package.json Root package: upgraded @objectstack/cli to 1.0.11 and @objectql packages to 4.1.0
packages/audit/package.json Upgraded @objectstack dependencies to 1.0.11 and @objectql peer dependency to 4.1.0
packages/auth/package.json Upgraded @objectstack dependencies to 1.0.11 and @objectql peer dependency to 4.1.0
packages/auth/src/plugin.ts Removed manual 'auth' service registration (now auto-registered), kept 'better-auth' registration
packages/automation/package.json Upgraded @objectstack dependencies to 1.0.11 and @objectql peer dependency to 4.1.0
packages/browser/package.json Upgraded @objectstack dependencies to 1.0.11
packages/cache/package.json Upgraded @objectstack/runtime to 1.0.11
packages/i18n/package.json Upgraded @objectstack/runtime to 1.0.11
packages/jobs/package.json Upgraded @objectstack dependencies to 1.0.11 and @objectql peer dependency to 4.1.0
packages/metrics/package.json Upgraded @objectstack/runtime to 1.0.11
packages/metrics/src/plugin.ts Removed hotfix code that aliased 'objectql' to 'data'/'metadata' services (now auto-registered)
packages/notification/package.json Upgraded @objectstack/runtime to 1.0.11
packages/permissions/package.json Upgraded @objectstack dependencies to 1.0.11 and @objectql peer dependency to 4.1.0
packages/realtime/package.json Upgraded @objectstack/runtime to 1.0.11
packages/storage/package.json Upgraded @objectstack/runtime to 1.0.11
packages/workflow/package.json Upgraded @objectstack dependencies to 1.0.11 and @objectql peer dependency to 4.1.0
pnpm-lock.yaml Updated dependency resolution for all upgraded packages with proper transitive dependency handling
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants